import React from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom'
import Login from './Login'
import Home from './Home'

const Main = () => {
    return (
        <Router>
            <Route path='/login/' exact component={Login}></Route>
            <Route path='/index/' component={Home}></Route>
        </Router>
    )
}

export default Main